package com.cloud.sso.entity;

import lombok.Data;

import java.util.Date;

@Data
public class SysLog {


    private String id;
    private String opUser;
    private String opType;
    private String moduleName;
    private String bId;
    private String content;
    private Date createTime;
    private String ip;
    private String uri;

    public SysLog(String id,String moduleName, String opUser, String opType, String bId, String content, Date createTime, String ip, String uri) {
        this.id = id;
        this.moduleName = moduleName;
        this.opUser = opUser;
        this.opType = opType;
        this.bId = bId;
        this.content = content;
        this.createTime = createTime;
        this.ip = ip;
        this.uri = uri;
    }

    public SysLog(String id, String opUser, String bId, String content, Date createTime, String ip, String uri) {
        this.id = id;
        this.opUser = opUser;
        this.bId = bId;
        this.content = content;
        this.createTime = createTime;
        this.ip = ip;
        this.uri = uri;
    }

    public SysLog(String id, String content, Date createTime, String ip, String uri) {
        this.id = id;
        this.content = content;
        this.createTime = createTime;
        this.ip = ip;
        this.uri = uri;
    }

    public SysLog() {
    }
}
